const build='/api'
const apiText={
}
const api={
	changehotel:{get:build+'/User/changehotel'},
	//实时房态
	GetActualRoomStatus:{post:build+'/Room/GetActualRoomStatus'},
	BathSetRoomDC:{post:build+'/Room/BathSetRoomDC'},
	ArrangeRoomClean:{post:build+'/Room/ArrangeRoomClean'},
	GetHotelCleanerList:{get:build+'/Room/GetHotelCleanerList'},
	GetZoneFloorList:{get:build+'/Room/GetZoneFloorList'},
	GetRoomCategoryList:{get:build+'/RoomCategory/GetRoomCategoryList'},
	GetHotelZoneList:{get:build+'/Room/GetHotelZoneList'},
}

let httpapi=[];
Object.entries(api).forEach(i=>{
    Object.entries(i[1]).forEach(k=>{
      httpapi.push({type:k[0],api:k[1],name:i[0]});
    })
})
export default {httpapi,apiText}
